<?php
/* @var $this UserController */
/* @var $model Userinfo */
/* @var $form CActiveForm */
?>

<div class="wide form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
)); ?>
<table>
	<tr>
		<td width="10%"><?php echo $form->label($model,'RoomName'); ?></td>
		<td width="20%"><?php echo $form->textField($model,'RoomName',array('size'=>50,'maxlength'=>50,'class'=>'text-input medium-input')); ?></td>
		<td width="10%"><?php echo $form->label($model,'RoomFirstName'); ?></td>
		<td width="20%"><?php echo $form->textField($model,'RoomFirstName',array('size'=>50,'maxlength'=>50,'class'=>'text-input medium-input')); ?></td>
		<td width="10%"><?php echo $form->label($model,'RoomType'); ?></td>
		<td width="20%"><?php echo $form->dropDownList($model, 'RoomType', Yii::app()->params["RoomType"],array('empty'=>'请选择')); ?></td>
		<td width="10%"><?php echo $form->label($model,'RoomIsShow'); ?></td>
		<td width="20%"><?php echo $form->dropDownList($model, 'RoomIsShow', Yii::app()->params["RoomIsShow"],array('empty'=>'请选择')); ?></td>
		<td width="10%"><?php echo CHtml::submitButton('搜索'); ?></td>
	</tr>
</table>
<?php $this->endWidget(); ?>

</div><!-- search-form -->